<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>HH_DISPLAY_TEXT_POPUP command</TITLE>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<BODY>

<h1>HH_DISPLAY_TEXT_POPUP command</h1>

<p>Opens a pop-up window that displays the contents of one of the following:</p>

<ul>
<li>An explicit text string.</li>
<li>A text string based on a resource ID. </li>
<li>A text string ID based on a text file contained in a compiled help (.chm) file.
</li>
</ul>

<br>
<table border=1 cellpadding=3 cellspacing=0 width=100%>
<TR VALIGN="top">
<TH><I>pszFile</I></TH>
<TH><I>dwData</I></TH>
</TR>

<TR VALIGN="top">
<TD>
<h3>To use an explicit text string:</h3>
Specify a NULL value.

<h3>To use a text string from a resource:</h3>
Specify a NULL value.

<h3>To use text string from a text file contained in a compiled help file:</h3>
Specify the .chm file and the text file within the .chm file.
</TD>
<TD>
Specifies a pointer to an <a href="str_hh_popup.htm">HH_POPUP</a> structure.
</TD>
</TR>
</TABLE>
<BR>

<H2>Example</H2>
<p><pre><code>
<br>HtmlHelp(
<br>         hwndCTRL,
<br>         NULL,
<br>         HH_DISPLAY_TEXT_POPUP,
<br>         (DWORD)&popup) ;
</pre></code></p>

<H2>Return value</H2>
<p>The handle (hwnd) of the pop-up window.</p>


<H2>See also</H2>
<p><a href="cmd_hh_tp_help_contextmenu.htm">HH_TP_HELP_CONTEXTMENU</a>
<br><a href="cmd_hh_tp_help_wm_help.htm">HH_TP_HELP_WM_HELP</a></p>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ov_about_htmlhelp_commands.htm"><img src="home.gif" width=20 height=18 alt="link to overview topic" border="0"></a>
</td>
<td><a href="ov_about_htmlhelp_commands.htm">About commands</A>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
</tr>
</table>

<br>
<!--start keywords--->

<!--end keywords--->


</BODY>
</HTML>
